void fractal(int x, int y, int size)
{
	if(size <= 1)
	{
		cl_set_color(235, x-x/224*224+16, y-y/224*224+16);
		cl_draw_point(x, y);
		return;
	}
	fractal(x-size/2, y-size/2, size/2);
	fractal(x-size/2, y+size/2, size/2);
	fractal(x+size/2, y-size/2, size/2);
}

void kernel_main()
{
	fractal(256,256,256);
}

